ChartElement

StockSharp.Xaml.Charting

The base class that describes the chart element (indicator, candle, etc.).

Наследует: ChartPart<T>

Реализует: IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable

Свойства

ChartArea : IChartArea

Chart area.

ChildElements : IEnumerable<IChartElement>

Child chart elements.

Colorer : Func<IComparable, Color?>

Custom elements colorer.

FullTitle : string

The full series title. If this property is undefined, auto-generated title will be used instead.

IsLegend : bool

Should this element be shown in the legend.

IsVisible : bool

Show/hide annotation.

ParentElement : IChartElement

Parent chart element.

XAxisId : string

X-axis.

YAxisId : string

Y-axis.

Методы

AddChildElement(IChartElement, bool)

Add child chart element.

element
dontDraw
Do not create corresponding chart element. Used for nested elements.
CheckAxesCompatible(ChartAxisType?, ChartAxisType?) : bool

Check if the element can be drawn using supplied axis types.

xType
X axis type.
yType
Y axis type.

Возвращает: if supplied types are supported.

Clone() : T

Create a copy of ChartElement.

Возвращает: Copy.

CopyTo(T) : T

Copy the message into the .

destination
The object, to which copied information.
CreateClone() : T

Create clone but do not fill out fields/properties.

GetGeneratedTitle() : string

Get generated title.

Возвращает: Auto generate chart element title.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnDraw(ChartDrawData) : bool

Draw on root element.

data
Chart drawing data.

Возвращает: if the data was successfully drawn, otherwise, returns .

OnReset()

Reset element.

RemoveChildElement(IChartElement)

Remove child chart element.

Save(SettingsStorage)

Save settings.

storage
Settings storage.